<%--
  Created by IntelliJ IDEA.
  User: wanglei
  Date: 2018/9/28
  Time: 11:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="/scripts/jquery.min.js"></script>
    <link rel="stylesheet" href="/css/StyleCss.css" type="text/css">
    <script type="text/javascript">
        $(function(){
            alert("加载完成");
            $.get("/test/getUserInfo?id=1", function(result){
                alert(result);
            });

            $.get("/test/getPerson?id=1", function(result){
                alert(result);
            });

            $.get("/test/updatePersonById?id=3&name=是的", function(result){
                alert(result + "条数据已修改.");
            });
        });
    </script>
</head>
    <body>
        <p class="index-style">user.....</p>
        <p class="font-style">nihao....</p>
    </body>
</html>
